Link to this headingTCPDump
Listen to specific interface:
Write to a file:
Show the first 10 packets of a capture:
Show hexdump of first packet:
Link to this headingtshark
Show Interfaces:
C:\Program Files\Wireshark>tshark -D
1. \Device\NPF_
2. \Device\NPF_
Listen to specific interface:
C:\Program Files\Wireshark>tshark –i 1
Write to a file:
tshark –i 1 –w packets.pcap
Show the first 10 packets of a capture:
Link to this headingWireshark
Search for Data in whole PCAP:
frame matches "127.0.0.1"
Link to this headingSSL
Use to store the negotiated SSL keys
Linux:
Windows:
chrome --ssl-key-log-file=C:\tmp\sslkeys.txt
Link to this headingUsing a custom host file
Edit -> Preferences -> Name Resolution -> and select Only use the
profile “hosts” file.
- Windows:
\Application Data\Wireshark\hosts - OS X: /Users/
/.wireshark/hosts - Linux: /home/
/.wireshark/hosts
Link to this headingFlow Graphing
Statistics -> Flow Graph
Link to this headingScripting
Below is an example of a scripting
arp_cache.lua